<template lang="pug">
section.graphic-container
  GtGraphicToolbar
  GtGraphicEditor
</template>

<script lang="ts">
import { defineComponent } from 'vue'
import GtGraphicEditor from './gt-graphic-editor.vue'
import GtGraphicToolbar from './gt-graphic-toolbar.vue'

export default defineComponent({
  name: 'GtGraphic',
  components: {
    GtGraphicEditor,
    GtGraphicToolbar
  }
})
</script>

<style lang="scss">
.graphic-container {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.builtin-node {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  padding: 10px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 0 8px 1px #bfbfbf;
}
</style>
